<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <script src="js/echarts.js"></script>
    <title>Title</title>
</head>
<body>
<div id="main" style="width: 800px; height: 400px;"></div>
<script type="text/javascript">
    var myChart = echarts.init(document.getElementById("main"));
    var option = {
        xAxis:{data:['Sun','Mon','Tue','Wed','Thu','Fri','Sat']},
        yAxis:{},
        series:[
            {
                type:'scatter',
                symbol:'diamond',
                symbolSize:function (value){
                    return value / 10;
                },
                data: [220,182,191,234,290,330,310]
            }
        ]
    }
    myChart.setOption(option)
</script>
</body>
</html>